package com.azzcs.executor;

import com.azzcs.parse.Configuration;
import com.azzcs.parse.MappedStatement;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author: wzg
 * @Date: 2020/12/6 下午12:15
 */
public interface Executor {
    <T> List<T> query(Configuration configuration, MappedStatement mappedStatement, Object... param) throws Exception;
    int update(Configuration configuration, MappedStatement mappedStatement, Object... parameter) throws Exception;
}
